Skip to content

Fix malformed copilot-cli feature reference in devcontainer.json#24

Merged
bmorton merged 1 commit into
mainfrom
copilot/fix-devcontainer-json-parse-error
Jun 14, 2026
Merged

Fix malformed copilot-cli feature reference in devcontainer.json#24
bmorton merged 1 commit into
mainfrom
copilot/fix-devcontainer-json-parse-error

Conversation

Copilot AI commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

The copilot-cli feature was pinned with an empty version tag (copilot-cli:), causing every devcontainer build to fail at compile time:

error: compile devcontainer.json: parse feature ref ghcr.io/devcontainers/features/copilot-cli:: could not parse reference: ghcr.io/devcontainers/features/copilot-cli:

A bad version bump (becd353) stripped the tag but left the dangling colon. Because the malformed ref blocks the whole file from compiling, it broke envbuilder, the devcontainer build CI step, and local VS Code builds.

Change

  • Pin the feature to its major version, matching the rest of the file (github-cli:1, go:1):
- "ghcr.io/devcontainers/features/copilot-cli:": {},
+ "ghcr.io/devcontainers/features/copilot-cli:1": {},

This is the only malformed reference; no other features are affected.

Copilot AI requested a review from bmorton June 14, 2026 07:47
@bmorton bmorton marked this pull request as ready for review June 14, 2026 07:58
@bmorton bmorton merged commit 5b7b308 into main Jun 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants